.myPage {
  padding: 16px;
  background-color: #f5f7fa;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .myPage {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
  }
}

/* 加载状态 */
.loadingContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 16px;
}

.loadingText {
  color: #666;
  margin-top: 8px;
}

/* 用户信息卡片样式 */
.userCard {
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: #fff;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.userInfo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.userMeta {
  margin-left: 16px;
  flex: 1;
}

.userName {
  font-size: 18px;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.userAccount {
  font-size: 14px;
  margin: 0;
  color: #666;
}

.logoutButton {
  width: 100%;
  color: #ff4d4f;
  border-color: #ff4d4f;
  margin-top: 8px;
}

/* 我的游记标题样式 */
.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 16px;
}

.sectionTitle {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* 游记列表 */
.travelsList {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: #fff;
}

.travelTitle {
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.travelDate {
  color: #666;
}

.travelLocation {
  display: flex;
  align-items: center;
  color: #666;
}

.statusTag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
}

/* 删除状态样式 */
.itemDeleted {
  opacity: 0.7;
  background-color: #f5f5f5;
  position: relative;
}

.itemDeleted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 245, 245, 0.2);
  z-index: 1;
  pointer-events: none;
}

.itemDeleted .travelTitle {
  color: #999;
}

.imageDeleted {
  filter: grayscale(80%);
  opacity: 0.8;
}

/* 未登录状态样式 */
.notLoggedIn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 32px);
}

.loginPrompt {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.loginPrompt h2 {
  font-size: 20px;
  margin: 0 0 12px 0;
}

.loginPrompt p {
  color: #666;
  margin: 0 0 24px 0;
}

.authButtons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loginButton {
  height: 40px;
}

.registerButton {
  height: 40px;
}

/* 响应式调整 */
@media (min-width: 768px) {
  .myPage {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
  }

  .userCard {
    padding: 24px;
  }
}